<!-- Begin Main Menu -->
<div class="ewMenu">
<?php $RootMenu = new cMenu(EW_MENUBAR_ID) ?>
<?php

// Generate all menu items
$RootMenu->IsRoot = TRUE;
$RootMenu->AddMenuItem(30, $Language->MenuPhrase("30", "MenuText"), "mensajeslist.php", -1, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}mensajes'), FALSE);
$RootMenu->AddMenuItem(13, $Language->MenuPhrase("13", "MenuText"), "", -1, "", IsLoggedIn(), FALSE, TRUE);
$RootMenu->AddMenuItem(31, $Language->MenuPhrase("31", "MenuText"), "alertaslist.php", 13, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}alertas'), FALSE);
$RootMenu->AddMenuItem(1, $Language->MenuPhrase("1", "MenuText"), "agendalist.php", 13, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}agenda'), FALSE);
$RootMenu->AddMenuItem(7, $Language->MenuPhrase("7", "MenuText"), "noticiaslist.php", 13, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}noticias'), FALSE);
$RootMenu->AddMenuItem(10, $Language->MenuPhrase("10", "MenuText"), "seccioneslist.php", 13, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}secciones'), FALSE);
$RootMenu->AddMenuItem(29, $Language->MenuPhrase("29", "MenuText"), "fuentelist.php", 13, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}fuente'), FALSE);
$RootMenu->AddMenuItem(17, $Language->MenuPhrase("17", "MenuText"), "", -1, "", IsLoggedIn(), FALSE, TRUE);
$RootMenu->AddMenuItem(15, $Language->MenuPhrase("15", "MenuText"), "comentarioslist.php", 17, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}comentarios'), FALSE);
$RootMenu->AddMenuItem(18, $Language->MenuPhrase("18", "MenuText"), "", -1, "", IsLoggedIn(), FALSE, TRUE);
$RootMenu->AddMenuItem(22, $Language->MenuPhrase("22", "MenuText"), "quinielalist.php", 18, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}quiniela'), FALSE);
$RootMenu->AddMenuItem(26, $Language->MenuPhrase("26", "MenuText"), "pollslist.php", 18, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}polls'), FALSE);
$RootMenu->AddMenuItem(2, $Language->MenuPhrase("2", "MenuText"), "archivoslist.php", 18, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}archivos'), FALSE);
$RootMenu->AddMenuItem(4, $Language->MenuPhrase("4", "MenuText"), "galeriaslist.php", 18, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}galerias'), FALSE);
$RootMenu->AddMenuItem(8, $Language->MenuPhrase("8", "MenuText"), "paginaslist.php", 18, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}paginas'), FALSE);
$RootMenu->AddMenuItem(19, $Language->MenuPhrase("19", "MenuText"), "", -1, "", IsLoggedIn(), FALSE, TRUE);
$RootMenu->AddMenuItem(3, $Language->MenuPhrase("3", "MenuText"), "publicidadeslist.php", 19, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}publicidades'), FALSE);
$RootMenu->AddMenuItem(23, $Language->MenuPhrase("23", "MenuText"), "", -1, "", IsLoggedIn(), FALSE, TRUE);
$RootMenu->AddMenuItem(12, $Language->MenuPhrase("12", "MenuText"), "usuarioslist.php", 23, "", AllowListMenu('{BF52BDE3-CE95-4CBB-AAA5-8634D9553193}usuarios'), FALSE);
$RootMenu->AddMenuItem(-1, $Language->Phrase("Logout"), "logout.php", -1, "", IsLoggedIn());
$RootMenu->AddMenuItem(-1, $Language->Phrase("Login"), "login.php", -1, "", !IsLoggedIn() && substr(@$_SERVER["URL"], -1 * strlen("login.php")) <> "login.php");
$RootMenu->Render();
?>
</div>
<!-- End Main Menu -->
